3.3.42 \(\int \frac {1}{\frac {b}{x^2}+a x} \, dx\)

Optimal. Leaf size=15 \[ \frac {\log \left (a x^3+b\right )}{3 a} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {1593, 260} \begin {gather*} \frac {\log \left (a x^3+b\right )}{3 a} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(b/x^2 + a*x)^(-1),x]

[Out]

Log[b + a*x^3]/(3*a)

Rule 260

Int[(x_)^(m_.)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Simp[Log[RemoveContent[a + b*x^n, x]]/(b*n), x] /; FreeQ
[{a, b, m, n}, x] && EqQ[m, n - 1]

Rule 1593

Int[(u_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.))^(n_.), x_Symbol] :> Int[u*x^(n*p)*(a + b*x^(q - p))^n, x] /; F
reeQ[{a, b, p, q}, x] && IntegerQ[n] && PosQ[q - p]

Rubi steps

\begin {align*} \int \frac {1}{\frac {b}{x^2}+a x} \, dx &=\int \frac {x^2}{b+a x^3} \, dx\\ &=\frac {\log \left (b+a x^3\right )}{3 a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 15, normalized size = 1.00 \begin {gather*} \frac {\log \left (a x^3+b\right )}{3 a} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(b/x^2 + a*x)^(-1),x]

[Out]

Log[b + a*x^3]/(3*a)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\frac {b}{x^2}+a x} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(b/x^2 + a*x)^(-1),x]

[Out]

IntegrateAlgebraic[(b/x^2 + a*x)^(-1), x]

________________________________________________________________________________________

fricas [A]  time = 0.39, size = 13, normalized size = 0.87 \begin {gather*} \frac {\log \left (a x^{3} + b\right )}{3 \, a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b/x^2+a*x),x, algorithm="fricas")

[Out]

1/3*log(a*x^3 + b)/a

________________________________________________________________________________________

giac [A]  time = 0.15, size = 14, normalized size = 0.93 \begin {gather*} \frac {\log \left ({\left | a x^{3} + b \right |}\right )}{3 \, a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b/x^2+a*x),x, algorithm="giac")

[Out]

1/3*log(abs(a*x^3 + b))/a

________________________________________________________________________________________

maple [A]  time = 0.04, size = 14, normalized size = 0.93 \begin {gather*} \frac {\ln \left (a \,x^{3}+b \right )}{3 a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(b/x^2+a*x),x)

[Out]

1/3/a*ln(a*x^3+b)

________________________________________________________________________________________

maxima [A]  time = 1.27, size = 13, normalized size = 0.87 \begin {gather*} \frac {\log \left (a x^{3} + b\right )}{3 \, a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b/x^2+a*x),x, algorithm="maxima")

[Out]

1/3*log(a*x^3 + b)/a

________________________________________________________________________________________

mupad [B]  time = 5.12, size = 13, normalized size = 0.87 \begin {gather*} \frac {\ln \left (a\,x^3+b\right )}{3\,a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a*x + b/x^2),x)

[Out]

log(b + a*x^3)/(3*a)

________________________________________________________________________________________

sympy [A]  time = 0.15, size = 10, normalized size = 0.67 \begin {gather*} \frac {\log {\left (a x^{3} + b \right )}}{3 a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(b/x**2+a*x),x)

[Out]

log(a*x**3 + b)/(3*a)

________________________________________________________________________________________